package com.his.j259w264.pojo;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 申请单(ApplicationForm)实体类
 *
 * @author EdgeYu
 * @since 2021-09-16 10:15:44
 */

@ApiModel(value = "ApplicationForm", description = "申请单")
public class ApplicationForm implements Serializable {
    private static final long serialVersionUID = 144638860305653883L;

    @ApiModelProperty(name = "id", notes = "${column.comment}", dataType = "Integer", required = true)
    private Integer id;
    /**
     * 申请人
     */
    @ApiModelProperty(name = "userId", notes = "申请人", dataType = "Integer", required = true)
    private Integer userId;
    /**
     * 病例id
     */
    @ApiModelProperty(name = "medicalRecordId", notes = "病例id", dataType = "Integer", required = true)
    private Integer medicalRecordId;
    /**
     * 申请内容
     */
    @ApiModelProperty(name = "applicationInformation", notes = "申请内容", dataType = "String", required = true)
    private String applicationInformation;
    /**
     * 审批状态
     */
    @ApiModelProperty(name = "approvalState", notes = "审批状态", dataType = "Integer", required = true)
    private Integer approvalState;
    /**
     * 申请时间
     */
    @ApiModelProperty(name = "applicationTime", notes = "申请时间", dataType = "Date", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applicationTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getMedicalRecordId() {
        return medicalRecordId;
    }

    public void setMedicalRecordId(Integer medicalRecordId) {
        this.medicalRecordId = medicalRecordId;
    }

    public String getApplicationInformation() {
        return applicationInformation;
    }

    public void setApplicationInformation(String applicationInformation) {
        this.applicationInformation = applicationInformation;
    }

    public Integer getApprovalState() {
        return approvalState;
    }

    public void setApprovalState(Integer approvalState) {
        this.approvalState = approvalState;
    }

    public Date getApplicationTime() {
        return applicationTime;
    }

    public void setApplicationTime(Date applicationTime) {
        this.applicationTime = applicationTime;
    }

}
